package com.itheima.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.common.PageResult7;
import com.itheima.common.Simple;
import com.itheima.entity.Subjects;
import com.itheima.entity.SubjectsDto;

/**
 * @author cfr
 * @date 2022/1/9
 * @TIME:21:10
 */
public interface SubjectsService extends IService<Subjects> {
    String modify(Subjects subjects);

    String deleteById(SubjectsDto subjectsDto);

    String add(Subjects subjects);

    Simple[] simple();

    PageResult7 finfPage(Long page, Long pagesize, String subjectName);

    SubjectsDto findById(Integer id);
}
